package cn.iocoder.yudao.module.member.controller.admin.major.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;

import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 专业 Response VO")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ExcelIgnoreUnannotated
@Accessors(chain = false) // 设置 chain = false，避免用户导入有问题
public class MajorRespVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "4777")
    private Long id;

    @Schema(description = "父级节点", requiredMode = Schema.RequiredMode.REQUIRED, example = "22430")
    private Long pid;
    private Long parentId;
    @ExcelProperty("上级专业")
    private String parentName;


    private Long parentOneId;
    private String parentOneName;

    @Schema(description = "类型名称", example = "李四")
    @ExcelProperty("类型名称")
    private String name;

    @Schema(description = "类型编码")
    @ExcelProperty("类型编码")
    private String code;

    @Schema(description = "二级对口企业参考")
    @ExcelProperty("二级对口企业参考")
    private String counterpartEnterprises;

    @Schema(description = "二级对口岗位参考")
    @ExcelProperty("二级对口岗位参考")
    private String correspondingPositions;

    @Schema(description = "三级专业介绍")
    @ExcelProperty("三级专业介绍")
    private String professionalIntroduction;

    @Schema(description = "三级就业方向")
    @ExcelProperty("三级就业方向")
    private String employmentDirection;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "节点层级")
    @ExcelProperty("节点层级")
    private String hasChild;

}